﻿using Scap.Info;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Scap.Data
{
    public class ScapData : DbContext
    {
        public DbSet<ScapConfiguration> Configurations { get; set; }
        public DbSet<ScapMonitorConfiguration> MonitorConfiguration { get; set; }
        public DbSet<ScapEmailConfiguration> EmailConfiguration { get; set; }

        public DbSet<ScapLocationAddress> LocationAddresses { get; set; }
        public DbSet<ScapLocationCity> LocationCities { get; set; }
        public DbSet<ScapLocationProvince> LocationProvinces { get; set; }
        public DbSet<ScapLocationCountry> LocationCountries { get; set; }

        public DbSet<ScapCompany> Companies { get; set; }
        public DbSet<ScapDepartment> Departments { get; set; }
        public DbSet<ScapDepartmentType> DepartmentTypes { get; set; }
        
        public DbSet<ScapEmployee> Employees { get; set; }
                
        public DbSet<ScapEmployeeStatus> EmployeeStatus { get; set; }
        public DbSet<ScapEmployeeType> EmployeeTypes { get; set; }
        public DbSet<ScapEmployeeRole> EmployeeRoles { get; set; }
        public DbSet<ScapEmployeeEnroll> EmployeeEnrolls { get; set; }

        public DbSet<ScapDepartmentEmployee> DepartmentEmployees { get; set; }

        public DbSet<ScapSchedule> Schedules { get; set; }
        public DbSet<ScapEmployeeSchedule> EmployeeSchedules { get; set; }


        public DbSet<ScapEmployeeAssistance> EmployeeAssistence { get; set; }

        public DbSet<ScapDevice> Devices { get; set; }

        public DbSet<ScapCommand> Commands { get; set; }
        

        public ScapData()
            : base("SCAPDB")
        {

        }

              
    }
}
